package com.verifone.tony.dagger2test;

import dagger.Module;
import dagger.Provides;

/**
 * Created by chong.z on 2017/11/23.
 */

@Module
public class ActivityModule {

    @Provides //注解@Provides注明该方法是用来提供依赖对象的特殊方法
    public UserModel provideUserModel() {
        return new UserModel("1", "Tony", "man");
    }
}
